package com.yuke.cloud.service.omc.service;

import com.yuke.cloud.service.api.omc.dto.GoodsInfo;
import com.yuke.cloud.service.api.omc.dto.OdsGoodSalesApiDto;
import com.yuke.cloud.service.omc.dto.OrderGoodsDto;
import com.yuke.cloud.service.omc.entity.OdsOrderGoods;

import com.yuke.cloud.common.core.support.IService;

import java.util.List;
import java.util.Map;


/**
 * Created by ssx on 2018/09/04.
 */
public interface OdsOrderGoodsService extends IService<OdsOrderGoods> {

    void savelist(List<OdsOrderGoods> orderGoods);

    List<Map> getcountnumbyshopandbyspecid(List<OdsOrderGoods> list);
    List<Map>   selectnumbyshopidmonth(List<OdsOrderGoods> list);

    List<Map> countnum(List<Long>id);

    List<Map> gethistorynum(Map<String,List<Long>> niubi);

    List<Map> countmonthnumbyprimikey(List<GoodsInfo> shop_goods_id);

    List<OrderGoodsDto> selectByOrderId(Long orderId);

    List<OrderGoodsDto> selectOrderGoodsByShopIds(List<Long> shopIds);

    List<OdsGoodSalesApiDto> goodsSales(OdsGoodSalesApiDto goodsSalesDto);
}
